<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <script src="/resources/common/js/jquery-1.11.3.min.js"></script>
    <title>Title</title>
</head>
<body>

</body>
<script type="text/javascript">
    $(function () {
        alert("??");
        $.ajax({
            url: '/admin/homeCategory/save.do?_t=' ,
            type: 'post',dataType:'json',
            data: params,
            success: function (data) {
                $(".btn").removeAttr("disabled");
                if (data.success) {
                    alert("添加成功");
                    go("/admin/homeCategory/list.do");
                } else {
                    alert(data.msg)
                }
            }
        });
    });
</script>
</html>